package com.yinni.service.impl.sys;

import com.yinni.dao.WelcomeDao;
import com.yinni.model.sys.MessageEntity;
import com.yinni.service.sys.WelcomeService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service(value = "welcomeServiceImpl")
public class WelcomeServiceImpl implements WelcomeService {

    @Autowired
    public WelcomeDao welcomeDao;

    @Override
    public Integer insertMessage(MessageEntity messageEntity) {
        return welcomeDao.insertMessage(messageEntity);
    }
}
